package com.xyy.saas.payment.cores.vo;

import com.xyy.saas.payment.cores.enums.*;

import java.io.Serializable;

/**
 * @Author: wuqiongda
 * @Date: 2019/11/21 13:43
 */
public class UploadPicVo implements Serializable {

    private static final long serialVersionUID = 1834095350673868531L;

    /**
     * 业务方id 必填
     */
    private String businessId;
    /**
     * 企业证件照片 企业必填 图片BASE64 编码，编码后的大小不能超过 500k，具体视场景而定（注意：请删除开头的：data:image/{{PIC_FMT}};base64, 字符串之后再提交
     */
    private byte[] businessCertPic;
    /**
     * 法人身份证正面 企业必填  图片BASE64 编码，编码后的大小不能超过 500k，具体视场景而定（注意：请删除开头的：data:image/{{PIC_FMT}};base64, 字符串之后再提交
     */
    private byte[] idCardFront;
    /**
     * 法人身份证背面 企业必填  图片BASE64 编码，编码后的大小不能超过 500k，具体视场景而定（注意：请删除开头的：data:image/{{PIC_FMT}};base64, 字符串之后再提交
     */
    private byte[] idCardBack;
    /**
     * 个人身份证正面 个人必填 图片BASE64 编码，编码后的大小不能超过 500k，具体视场景而定（注意：请删除开头的：data:image/{{PIC_FMT}};base64, 字符串之后再提交
     */
    private byte[] personalIdCardFront;
    /**
     * 个人身份证背面 个人必填 图片BASE64 编码，编码后的大小不能超过 500k，具体视场景而定（注意：请删除开头的：data:image/{{PIC_FMT}};base64, 字符串之后再提交
     */
    private byte[] personalIdCardBack;
    /**
     * 图片格式。 可选：png、jpg
     */
    private String picFmt;
    /**
     * 申请类型
     */
    private AccountTypeEnum accountTypeEnum;
    /**
     * 接口调用方的标识，支付平台分配，用于验签
     */
    private InvokerEnum invoker;
    /**
     * 接口调用方的业务类型, 支付平台分配
     */
    private BusinessIdTypeEnum businessIdTypeEnum;
    /**
     * 账户渠道选择 目前仅支持aggregate
     */

    private AccountChannelEnum accountChannelEnum;

    public String getBusinessId() {
        return businessId;
    }

    public void setBusinessId(String businessId) {
        this.businessId = businessId;
    }

    public byte[] getBusinessCertPic() {
        return businessCertPic;
    }

    public void setBusinessCertPic(byte[] businessCertPic) {
        this.businessCertPic = businessCertPic;
    }

    public byte[] getIdCardFront() {
        return idCardFront;
    }

    public void setIdCardFront(byte[] idCardFront) {
        this.idCardFront = idCardFront;
    }

    public byte[] getIdCardBack() {
        return idCardBack;
    }

    public void setIdCardBack(byte[] idCardBack) {
        this.idCardBack = idCardBack;
    }

    public String getPicFmt() {
        return picFmt;
    }

    public void setPicFmt(String picFmt) {
        this.picFmt = picFmt;
    }

    public AccountTypeEnum getAccountTypeEnum() {
        return accountTypeEnum;
    }

    public void setAccountTypeEnum(AccountTypeEnum accountTypeEnum) {
        this.accountTypeEnum = accountTypeEnum;
    }

    public byte[] getPersonalIdCardFront() {
        return personalIdCardFront;
    }

    public void setPersonalIdCardFront(byte[] personalIdCardFront) {
        this.personalIdCardFront = personalIdCardFront;
    }

    public byte[] getPersonalIdCardBack() {
        return personalIdCardBack;
    }

    public void setPersonalIdCardBack(byte[] personalIdCardBack) {
        this.personalIdCardBack = personalIdCardBack;
    }

    public BusinessIdTypeEnum getBusinessIdTypeEnum() {
        return businessIdTypeEnum;
    }

    public void setBusinessIdTypeEnum(BusinessIdTypeEnum businessIdTypeEnum) {
        this.businessIdTypeEnum = businessIdTypeEnum;
    }

    public AccountChannelEnum getAccountChannelEnum() {
        return accountChannelEnum;
    }

    public void setAccountChannelEnum(AccountChannelEnum accountChannelEnum) {
        this.accountChannelEnum = accountChannelEnum;
    }

    public InvokerEnum getInvoker() {
        return invoker;
    }

    public void setInvoker(InvokerEnum invoker) {
        this.invoker = invoker;
    }
}
